SPEED=$1
BUFFER_SIZE=$2
mmdelay=$3
cc_name=$4

ethtool -K eth0 gso off
ethtool -K eth0 tso off
ethtool -K eth1 gso off
ethtool -K eth1 tso off
sysctl -w net.ipv4.tcp_sack=0

tcpdump -i eth0 -s 61 dst 10.10.10.10 -w cellsim_galactical_eth0_${SPEED}_${BUFFER_SIZE}_${mmdelay}_${cc_name}.pcap &
sleep 1

iperf3 -s &
sleep 35
pkill -9 iperf3
sleep 1
pkill -9 tcpdump